package yur.wedding.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;

import org.springframework.stereotype.Service;
import yur.wedding.modules.sys.entity.SysUserTokenEntity;
import yur.wedding.utils.R;

/**
 * 生成token
 *
 * @Author: Yur
 * @Data:2021/12/7 22:22
 */
@Service
public interface SysUserTokenService extends IService<SysUserTokenEntity> {
    /**
     *生成token
     * @param userId
     * @return
     */
    R createToken(Long userId);
}
